package com.ndf.learn.model;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by lin on 2017/11/19.
 */
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    private int id;

    private String userName;

    private String userPassword;

    private String msg;

    private Date createTime;

    public User() {
    }

    public User(String userName, String userPassword, String msg, Date createTime) {
        this.userName = userName;
        this.userPassword = userPassword;
        this.msg = msg;
        this.createTime = createTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
